<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>target属性</title>
</head>

<body>
    <a href="https://www.baidu.com/" target="_self">_self百度</a>
    <a href="https://www.baidu.com/" target="_blank">_blank百度</a>
</body>

</html>